import { createPinia } from 'pinia';
import { createPersistedState } from 'pinia-plugin-persistedstate';
import { useThemeStore } from "./modules/themeStore"
import { useTabbarStore } from './modules/tabbarStore';
import { useShopBagStore } from './modules/shopBagStore';
import { createApp } from 'vue';
import app from '../App.vue';
const pinia = createPinia();
const App = createApp(app).use(pinia)
pinia.use(createPersistedState({
    storage: localStorage,
}));
export { useThemeStore, useTabbarStore, useShopBagStore };
export default App;